<?php

	require_once('inc/fen_fns.php');
	
	sec_session_start();
	
	if (login_check($mysqli, '>', '10') == true) {

		if ($_SESSION['type'] == '2') {
			do_member_header($tagTitle, "3");
			do_application1();
			do_footer();
		} else {
			do_member_header("Özet > Hoşgeldiniz", "1");
			do_summary();
			do_footer();
		}
		
	
	} else {
		header('Location: ./index.php?error=2');
	}
	
	